package com.example.company;

import java.util.ServiceLoader;

public class CompanyConnectInternet {

    public static void main(String[] args) {
        ServiceLoader<InternetService> services = ServiceLoader.load(InternetService.class);
        for (InternetService service : services) {
            service.connectInternet();
        }
    }
}
